Skip to content

Instantly share code, notes, and snippets.

# 2024年5月9日 09点07分
# port: 7890 # HTTP(S) 代理服务器端口
# socks-port: 7891 # SOCKS5 代理端口
mixed-port: 10801 # HTTP(S) 和 SOCKS 代理混合端口
redir-port: 7892 # 透明代理端口,用于 Linux 和 MacOS
# Transparent proxy server port for Linux (TProxy TCP and TProxy UDP)
tproxy-port: 7893
nodes:
- id: webcam
custom:
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py
outputs:
- image
- id: idefics2
operator:
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py
inputs:
@scyto
scyto / proxmox-tb-net.md
Last active May 10, 2024 17:50
Thunderbolt Networking Setup

Thunderbolt Networking

this gist is part of this series

NOTE FOR THIS TO BE RELIABLE ON NODE RESTARTS YOU WILL NEED PROXMOX KERNEL 6.2.16-14-pve OR HIGER

This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)

Install LLDP - this is great to see what nodes can see which.

  • install lldpctl with apt install lldpd
@prashant0085
prashant0085 / Mac-OS-Setup.md
Last active May 10, 2024 17:49
Mac OS setup for DevOps Engineer

Update Mac to latest version

Update your Mac to latest version of macOS.

Install Mac Xcode Command Line Tools

xcode-select --install
@ItzMarni
ItzMarni / Installing Vencord.md
Last active May 10, 2024 17:48
How to install custom Vencord plugins.

Installing unsupported/custom plugins (userplugins) - Last update: 10/05/2024

Note

Vencord is against TOS, although no one has been banned, I am not responsible for whatever happens to your account, you cant ask support either for custom plugins, you are all on your own.

Step 1

Make sure you have [Git] and [Node.JS] installed.

Step 2

@lzehrung
lzehrung / remove-node_modules-recurse.ps1
Created May 10, 2024 17:44
powershell remove node_modules recursively
Get-ChildItem -Path "." -Include "node_modules" -Recurse -Directory | Remove-Item -Recurse -Force
interfaces {
lo0 {
unit 0 {
family inet {
filter {
input-list [ discard-frags accept-single-hop-bfd-v4 accept-multi-hop-bfd-v4 accept-bgp-v4 accept-ospf2 accept-vrrpv3-v4 accept-established-v4 accept-common-services-v4 discard-all-v4 ];
}
}
family inet6 {
filter {
@DariuszMak
DariuszMak / yt-dlp.md
Last active May 10, 2024 17:44
YT-DLP

YT-DLP

Linux

sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp

Windows

#!/usr/bin/env ruby
# encoding: utf-8
require 'csv'
require 'dina'
Dina.config = {
authorization_url: 'https://dina.biodiversity.agr.gc.ca/auth',
endpoint_url: 'https://dina.biodiversity.agr.gc.ca/api',
server_name: 'dina-prod',